package haiyangwangwork.day11.homework.hk.牟丁西;

public class Demo1 {
    public static void main(String[] args) {
        //  输出1000以内的所有质数
        for (int i=2;i<=5;i++){
            if(i%4==0){
                continue;
            }
            System.out.println(i);
        }
        for (int i = 5;i <= 1000;i++){
            if (i % 2 == 0 || i % 3 == 0 || i % 5 == 0){
                continue;
            }
            System.out.println(i);
        }

    }
}
